package com.gxc.mall.goods.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author GongXincheng
 * @since 2019-09-07 18:08
 */
@Data
public class UserParam implements Serializable {

    private Integer id;

    @NotBlank(message = "password not null")
    private String password;

    @NotBlank(message = "username not null")
    private String username;

    private Integer age;
    private String email;
    private Integer status;

}
